From 8ab6a7f5a8781929efb41d6d04d0954d49710c9a Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 11 Jul 2005 09:03:24 +0000 Subject: [PATCH] Don't build xenctx by default,a nd fix one error msg. --- tools/xentrace/Makefile | 2 +- tools/xentrace/xenctx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/xentrace/Makefile b/tools/xentrace/Makefile index 0a062bd007..329d71c3ee 100644 --- a/tools/xentrace/Makefile +++ b/tools/xentrace/Makefile @@ -14,7 +14,7 @@ CFLAGS += -I $(XEN_LIBXC) HDRS = $(wildcard *.h) OBJS = $(patsubst %.c,%.o,$(wildcard *.c)) -BIN = xentrace xenctx +BIN = xentrace SCRIPTS = xentrace_format MAN1 = $(wildcard *.1) MAN8 = $(wildcard *.8) diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c index 1744fc1956..c0f85f7485 100644 --- a/tools/xentrace/xenctx.c +++ b/tools/xentrace/xenctx.c @@ -90,7 +90,7 @@ void dump_ctx(u32 domid, u32 vcpu) ret = xc_domain_get_vcpu_context(xc_handle, domid, vcpu, &ctx); if (ret != 0) { - perror("xc_domain_getfullinfo"); + perror("xc_domain_get_vcpu_context"); exit(-1); } print_ctx(&ctx); -- 2.30.2